#include "MainWindow.h"

#include <QApplication>
#include "MyGlobalShortCut.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);



    MainWindow w;
    w.show();
    MyGlobalShortCut *shortcut = new MyGlobalShortCut("ctrl+1",&w);
    QObject::connect(shortcut,SIGNAL(activated()),&w,SLOT(globalSlot()));
    return a.exec();
}
